<?php
class eBoxSupportOnlineForm extends Form
{
	function __construct()
	{
		Form::Form('eBoxSupportOnlineForm');
	}

	function draw()
	{
		global $display;
        $display->add('is_admin',User::have_permit(ADMIN_NEWS));
        $OnlineSupport = @CGlobal::$configs['OnlineSupport']['conf_val'];

        if($OnlineSupport != ''){
            $OnlineSupport = unserialize(stripslashes($OnlineSupport));
        }
        else{
            $OnlineSupport = false;
        }

        $display->add('OnlineSupport', $OnlineSupport);
		$display->output('eBoxSupportOnlineForm');

	}
}

?>